package org.shj.dhsjjg.linktable;

public class CircleLink {

	private CircleLinkNode headNode;
	
	public CircleLink(){
		headNode = new CircleLinkNode();
		headNode.setData(-1);
	}
	
	public void addNode(CircleLinkNode node){		
		CircleLinkNode current = headNode;
		while(current.getNext() != null){
			current = current.getNext();
		}
		current.setNext(node);
		node.setNext(headNode);
	}
	
	public void remove(CircleLinkNode node){
		
	}
}
